crypto/tls.Config.time (method)
21 uses
crypto/tls (current package)
common.go#L979: key.created = c.time()
common.go#L1111: if len(c.autoSessionTicketKeys) > 0 && c.time().Sub(c.autoSessionTicketKeys[0].created) < ticketKeyRotation {
common.go#L1121: if len(c.autoSessionTicketKeys) == 0 || c.time().Sub(c.autoSessionTicketKeys[0].created) >= ticketKeyRotation {
common.go#L1130: if c.time().Sub(k.created) < ticketKeyLifetime {
common.go#L1175: func (c *Config) time() time.Time {
handshake_client.go#L400: if c.config.time().After(session.peerCertificates[0].NotAfter) {
handshake_client.go#L416: CurrentTime: c.config.time(),
handshake_client.go#L444: if c.config.time().After(time.Unix(int64(session.useBy), 0)) {
handshake_client.go#L485: ticketAge := c.config.time().Sub(time.Unix(int64(session.createdAt), 0))
handshake_client.go#L1127: CurrentTime: c.config.time(),
handshake_client.go#L1150: CurrentTime: c.config.time(),
handshake_client_tls13.go#L343: ticketAge := c.config.time().Sub(time.Unix(int64(hs.session.createdAt), 0))
handshake_client_tls13.go#L873: session.useBy = uint64(c.config.time().Add(lifetime).Unix())
handshake_server.go#L487: if c.config.time().Sub(createdAt) > maxSessionTicketLifetime {
handshake_server.go#L523: if sessionHasClientCerts && c.config.time().After(sessionState.peerCertificates[0].NotAfter) {
handshake_server.go#L527: CurrentTime: c.config.time(),
handshake_server.go#L970: CurrentTime: c.config.time(),
handshake_server_tls13.go#L350: if c.config.time().Sub(createdAt) > maxSessionTicketLifetime {
handshake_server_tls13.go#L370: if sessionHasClientCerts && c.config.time().After(sessionState.peerCertificates[0].NotAfter) {
handshake_server_tls13.go#L374: CurrentTime: c.config.time(),
ticket.go#L302: createdAt: uint64(c.config.time().Unix()),